ADD AND REMOVE PEAZIP FROM WINDOWS 11 MINI CONTEXT MENU

add HS 压缩 *.reg 
Adds most commonly used HS 压缩 functions to Windows 11 mini context menu.
The scripts assume HS 压缩 is installed in C:\Program Files\HS 压缩: change destination if the application is installed in a different path, or if you want to use the scripts for HS 压缩 Portable.
The scripts add items to Windows 11 mini context menu: you can comment (pre-pending ; character) the entries you want to not apply.
It is possible to localize the language of the menu entries changing the text in MUIVerb entries.

remove HS 压缩 entries.reg
Removes HS 压缩 entries form Windows 11 mini context menu.

The scripts use whitelisted ID SetDesktopWallpaper: you can use different whitelisted IDs if you prefer, and if made available by Microsoft.

This is a short list of known whitelistd IDs:
ConnectNetworkDrive
DisconnectNetworkDrive
Extract
PinToHome
SetDesktopWallpaper
UnpinFromHome
Windows.CompressTo
which can be used in HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\ 
Directory, AllFileSystemObjects, or any file type can be used in place of * type.

A further alternative is adding a menu item to open the app when clicking on an empty spot, from HKEY_CLASSES_ROOT\Directory\Background\shell

Please note all context menu and SenTo menu entries are available from "Show more options", or pressing Shift+F10, in the Windows 11 full context menu, and are not affected by those scripts.

Read HS 压缩 documentation for the full list of supported functions and please note commands containing "multi" particle are natively capable to pass multiple items to a single program's instance.

For quick reference, most relevant HS 压缩 commands are:

-add2multi Add item(s) to archive allowing to set format, options, password, etc
-add2multi7z Add item(s) to 7Z archive and immediately starts compression
-add2multizip Add item(s) to ZIP archive and immediately starts compression
-add2multiconvert Add item(s) to archive conversion screen

-ext2openasarchive Try to open a file of arbitrary type as archive; if input is a directory, open HS 压缩 in that directory 

-ext2multi Extract item(s) allowing to set destination, options, password, etc
-ext2multihere Extract item(s) in current directory
-ext2multismart Extract item(s) in current directory, creating a new folder if needed

